package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = false)
@Data
public class UnloadLogWeighParam {

    @ApiModelProperty("磅数/吨")
    private String weight;

    @ApiModelProperty("卡号")
    @NotBlank(message = "卡号不能为空")
    private String icNumber;

    @ApiModelProperty("空磅/重磅-图片1")
    @NotBlank(message = "图片1不能为空")
    private String img1;

    @ApiModelProperty("空磅/重磅-图片2")
    @NotBlank(message = "图片2不能为空")
    private String img2;

    private MultipartFile file1;

    private MultipartFile file2;

    @ApiModelProperty("过空磅时选择的任务id,过复磅时无需传值")
    private String taskId;

    @ApiModelProperty("车牌号")
    private String vehNumber;

}
